package beastick.tests.tofigurator;

import beastick.configurator.SConfigurator;

public class TofiguratorTest_Array
{
 Item[] oItems = new Item[0];

 public void run()
 {
  SConfigurator.Initialize("main.xml");
  System.out.println("Before Configuration");
  for (int i = 0; i < oItems.length; ++i)
  {
   System.out.println("i=" + i);
   System.out.println("oItems[i].i=" + oItems[i].i);
   System.out.println("oItems[i].i1=" + oItems[i].i1);
   System.out.println("oItems[i].r=" + oItems[i].r);
   System.out.println("oItems[i].b=" + oItems[i].b);
   System.out.println("oItems[i].sValue=" + oItems[i].sValue);
  }

  SConfigurator.SetMyFields(this);

  System.out.println("After Configuration");
  for (int i = 0; i < oItems.length; ++i)
  {
   System.out.println("i=" + i);
   System.out.println("oItems[i].i=" + oItems[i].i);
   System.out.println("oItems[i].i1=" + oItems[i].i1);
   System.out.println("oItems[i].r=" + oItems[i].r);
   System.out.println("oItems[i].b=" + oItems[i].b);
   System.out.println("oItems[i].sValue=" + oItems[i].sValue);
  }
 }

 public static void main(String[] args)
 {
  (new TofiguratorTest_Array()).run();
 }
}
